var assert = require('assert');
var should = require('should');
var util = require('util');
var _ = require('lodash');
var rebelRecordModel = require('../../app/models/rebelRecordModel');
var config = require('../config');

suite('rebelRecordModel', function () {
    suite('addRecord', function (done) {
        test('获取角色列表', function (done) {
            rebelRecordModel.addRecord(config.role_id, 10000, {}, {}, function (err, model) {
                assert.equal(err == null, true);
                done();
            });
        });
    });

    suite('getRecordByAtkRoleId', function (done) {
        test('获取角色列表', function (done) {
            rebelRecordModel.getRecordByAtkRoleId(config.role_id, 10000, function (err, model) {
                assert.equal(err == null, true);
                done();
            });
        });
    });
});
